package androidx.test.espresso;

import androidx.test.espresso.core.internal.deps.dagger.internal.Factory;
import androidx.test.espresso.core.internal.deps.dagger.internal.Preconditions;
import java.util.concurrent.atomic.AtomicReference;
import org.hamcrest.Matcher;

/* loaded from: classes.dex */
public final class ViewInteractionModule_ProvideRootMatcherFactory implements Factory<AtomicReference<Matcher<Root>>> {
    private final ViewInteractionModule module;

    public ViewInteractionModule_ProvideRootMatcherFactory(ViewInteractionModule module) {
        this.module = module;
    }

    @Override // javax.inject.Provider
    public AtomicReference<Matcher<Root>> get() {
        return provideInstance(this.module);
    }

    public static AtomicReference<Matcher<Root>> provideInstance(ViewInteractionModule module) {
        return proxyProvideRootMatcher(module);
    }

    public static ViewInteractionModule_ProvideRootMatcherFactory create(ViewInteractionModule module) {
        return new ViewInteractionModule_ProvideRootMatcherFactory(module);
    }

    public static AtomicReference<Matcher<Root>> proxyProvideRootMatcher(ViewInteractionModule instance) {
        return (AtomicReference) Preconditions.checkNotNull(instance.provideRootMatcher(), "Cannot return null from a non-@Nullable @Provides method");
    }
}
